package com.jrx.anytxn.param.mapper.base;

import com.jrx.anytxn.param.entity.RmAviatorRuleInfo;
import com.jrx.anytxn.param.entity.RmAviatorRuleInfoWithBLOBs;

public interface RmAviatorRuleInfoMapper {
    /**
     * 根据主键删除 
     * @param id Long
     * @return int
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 保存
     * @param record RmAviatorRuleInfoWithBLOBs
     * @return int
     */
    int insert(RmAviatorRuleInfoWithBLOBs record);

    /**
     * 根据字段是否为空保存 
     * @param record RmAviatorRuleInfoWithBLOBs
     * @return int
     */
    int insertSelective(RmAviatorRuleInfoWithBLOBs record);

    /**
     * 根据主键查询 
     * @param id Long
     * @return RmAviatorRuleInfoWithBLOBs
     */
    RmAviatorRuleInfoWithBLOBs selectByPrimaryKey(Long id);

    /**
     * 根据字段是否为空更新 
     * @param record RmAviatorRuleInfoWithBLOBs
     * @return int
     */
    int updateByPrimaryKeySelective(RmAviatorRuleInfoWithBLOBs record);

    /**
     * 
     * @param record RmAviatorRuleInfoWithBLOBs
     * @return int
     */
    int updateByPrimaryKeyWithBLOBs(RmAviatorRuleInfoWithBLOBs record);

    /**
     * 根据主键更新所有字段 
     * @param record RmAviatorRuleInfo
     * @return int
     */
    int updateByPrimaryKey(RmAviatorRuleInfo record);
}